package a.a.a;

import net.roseboy.classfinal.util.IoUtils;

import java.io.*;
import java.nio.charset.StandardCharsets;

public class C {
    public static void main(String[] args) throws IOException {
        byte[] bs=B.e("12323243322".getBytes(StandardCharsets.UTF_8),"".getBytes(StandardCharsets.UTF_8));

        init();
        System.out.println(new String(B.d(bs,"".getBytes(StandardCharsets.UTF_8))));

    }

    public static void init() {
        File file=new File("D:\\doc\\java-encrypted\\agent\\sunray-agent\\a\\a\\a");
        ByteArrayOutputStream bos = new ByteArrayOutputStream();
        for (File listFile : file.listFiles()) {
            InputStream in = null;
            try {
                in = new FileInputStream(listFile);
                if(in!=null){
                    IoUtils.copy(in, bos);
                }
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
        B.i(bos.toByteArray());
    }
}
